﻿using System;

namespace FbKPI.Model
{
    public class KPIAssign : BaseAttribute
    {
        public KPIAssign() 
        {
            ID = 0;
            KPI = new KPI();
            RGM = new RGM();
            Location = new Location();
            SubBranch = new SubBranch();
            Weight = 0;
            UoM = new UoM();
            UoMDetailMax = new UoMDetail();
            UoMDetailMin = new UoMDetail();
            WeightEnableFlag = false;
            UoMEnableFlag = false;
            Verifier = new Employee();
            Polarization = string.Empty;
            ManualCalculation = 0;
            isActive = false;
        }
        public int ID { get; set; }
        public KPI KPI { get; set; }
        public RGM RGM { get; set; }
        public Location Location { get; set; }
        public SubBranch SubBranch { get; set; }
        public int Weight { get; set; }
        public UoM UoM { get; set; }
        public UoMDetail UoMDetailMax { get; set; }
        public UoMDetail UoMDetailMin { get; set; }
        public bool WeightEnableFlag { get; set; }
        public bool UoMEnableFlag { get; set; }
        public Employee Verifier { get; set; }
        public string Polarization { get; set; }
        public int ManualCalculation { get; set; }
        public bool isActive { get; set; }
    }
}